package org.ivwsqii.prototype.simple;

import org.ivwsqii.prototype.simple.Prototype;

/**
 *	具体原型类。实现克隆的具体操作
 * @author Administrator
 *
 */
public class ConcretePrototypeB implements Prototype {

	@Override
	public Prototype clone() {
		Prototype prototype = new ConcretePrototypeB();
		return prototype;
	}

	@Override
	public void getName() {
		System.out.println("ConcretePrototypeB");
	}

}
